FROM openjdk:8
EXPOSE 8080
ADD ./build/libs/stub-1.0.jar /home/app.jar
ENV TZ "Asia/Shanghai"
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["sh","/usr/local/bin/docker-entrypoint.sh"]